<?php
// CloudFlare
if ($_SERVER['HTTP_CF_CONNECTING_IP']) { $_SERVER['HTTP_X_REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP']; }

header("pragma: nocache");
echo sprintf("<html><head><title>Current IP Check</title></head><body>Current IP Address: %s</body></html>\n", $_SERVER['HTTP_X_REMOTE_ADDR']);
?>
